package com.kb.order.service.impl;

import com.kb.order.pojo.UserAddress;
import com.kb.order.service.IUserAddressService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

import com.kb.order.dao.UserAddressDao;

@Service
public class UserAddressService implements IUserAddressService {

    @Resource
    private UserAddressDao userAddressDao;

    public int insert(UserAddress pojo){
        return userAddressDao.insert(pojo);
    }

    public int insertList(List< UserAddress> pojos){
        return userAddressDao.insertList(pojos);
    }

    public List<UserAddress> select(UserAddress pojo){
        return userAddressDao.select(pojo);
    }

    public int update(UserAddress pojo){
        return userAddressDao.update(pojo);
    }

}
